#include <iostream>
#include <cstdio>
using namespace std;

int main() {
    int a, b, c, d, flag = 1;
    cin >> a >> b >> c >> d;

    for (int A = -30; A <= 30; ++A)
    {
        for (int B = -30; B <= 30; ++B)
        {
            for (int C = -30; C <= 30; ++C)
            {
                for (int D = -30; D <= 30; ++D)
                {
                    if (A - B == a && B - C == b && A + B == c && B + C == d)
                    {
                        cout << A << " " << B << " " << C << endl;
                        flag = 0;
                        break;
                    }
                }
            }
        }
    }
    if (flag)
        cout << "No" << endl;
    return 0;
}